go/printer.printer.pos (field)
26 uses
go/printer (current package)
nodes.go#L49: n := nlimit(line - p.pos.Line)
nodes.go#L296: if mode&commaTerm != 0 && next.IsValid() && p.pos.Line < next.Line {
nodes.go#L768: xline := p.pos.Line // before the operator (it may be on the next line!)
nodes.go#L1111: if line := p.lineFor(x.Sel.Pos()); p.pos.IsValid() && p.pos.Line < line {
nodes.go#L1826: if startPos.IsValid() && p.pos.IsValid() && p.posFor(startPos).Line == p.pos.Line {
printer.go#L77: pos token.Position // current position in AST (source) space
printer.go#L100: p.pos = token.Position{Line: 1, Column: 1}
printer.go#L109: fmt.Print(p.pos.String() + ": ")
printer.go#L231: p.pos.Offset += n
printer.go#L232: p.pos.Column += n
printer.go#L263: p.pos.Offset += n
printer.go#L265: p.pos.Line += n
printer.go#L267: p.pos.Column = 1
printer.go#L271: p.pos.Column += n
printer.go#L299: p.pos = pos
printer.go#L330: p.pos.Offset += len(s)
printer.go#L332: p.pos.Line += nlines
printer.go#L335: p.pos.Column = c
printer.go#L338: p.pos.Column += len(s)
printer.go#L346: p.last = p.pos
printer.go#L684: pos = p.pos
printer.go#L969: p.pos = p.posFor(x) // accurate position of next item
printer.go#L986: next := p.pos // estimated/accurate position of next item
printer.go#L993: n := nlimit(next.Line - p.pos.Line)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)